<template>
	<web-view :src="src"></web-view>
</template>

<script>
	import {
		fileOnlineUrl
	} from '@/utils/env.js'
	export default {
		data () {
			return {
				fileOnlineUrl: fileOnlineUrl,
				src:""
			}
		},
		onLoad(options) {
			this.src = this.fileOnlineUrl + '/onlinePreview?url=' + options.link
		}
	}
</script>

<style>
</style>
